﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Admin/ClearAdmin.Master" AutoEventWireup="true" CodeBehind="Login.aspx.cs" Inherits="NhanAi.Public.Login" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <title><asp:Literal ID="litCount" runat="server" Text="<%$Resources:HmLanguage,login %>"></asp:Literal></title>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <script type="text/javascript">

        // $(document).ready(function(){
        //if(remember==true){
        //   $('#login-check').attr('checked','checked');
        //   $('#login-check').attr('checked',true);
        // }
        //});
        window.onload = function () {
            document.getElementById('UserName').focus();
        }
        //$(document).ready(function () {
        //    $('#MatKhau').keypress(function () {
        // $('submit').click(); }
        //    });
        //});
    </script>
    <!-- Start: login-holder -->
    <div id="login-holder">

        <!-- start logo -->
        <div id="logo-login">
        </div>
        <!-- end logo -->

        <div class="clear"></div>

        <!--  start loginbox ................................................................................. -->
        <div id="loginbox">

            <!--  start login-inner -->
            <div id="login-inner">
                <form method="post" action="Login.aspx">

                    <table border="0" cellpadding="0" cellspacing="0">
                        <tr>
                            <th>Tên người dùng</th>
                            <td>
                                <asp:TextBox ID="txtUserLogin" runat="server" CssClass="login-inp"></asp:TextBox></td>
                        </tr>
                        <tr>
                            <th>Mật khẩu</th>
                            <td>
                                <asp:TextBox ID="txtPassword" runat="server" TextMode="Password" CssClass="login-inp"></asp:TextBox></td>

                        </tr>
                        <tr>
                            <th></th>
                            <td valign="top">
                                <label for="login-check">Ghi nhớ đăng nhập</label>
                                <asp:CheckBox ID="chkRemember" runat="server" />
                            </td>

                        </tr>
                        <tr>
                            <th></th>
                            <td>
                                <asp:Button runat="server" ID="btnLogin" CssClass="submit-login" OnClick="btnLoginClicked" />
                            </td>
                        </tr>
                    </table>
                </form>
            </div>
            <!--  end login-inner -->
            <div class="clear"></div>
            <a href="" class="forgot-pwd">Bạn quên mật khẩu?</a>
        </div>
        <!--  end loginbox -->

        <!--  start forgotbox ................................................................................... -->
        <div id="forgotbox">
            <form method="post" action="~/ResetPwd.aspx">

                <div id="forgotbox-text">Vui lòng gửi email để khôi phục mật khẩu.</div>
                <!--  start forgot-inner -->
                <div id="forgot-inner">
                    <table border="0" cellpadding="0" cellspacing="0">
                        <tr>
                            <th>Email:</th>
                            <td>
                                <input type="text" value="" name="email" class="login-inp" /></td>
                        </tr>
                        <tr>
                            <th></th>
                            <td>
                                <asp:Button runat="server" ID="btnReset" CssClass="submit-login" />
                              </td>
                        </tr>
                    </table>
                </div>
            </form>
            <!--  end forgot-inner -->
            <div class="clear"></div>
            <a href="" class="back-login">Trở lại trang đăng nhập</a>
        </div>
        <!--  end forgotbox -->

        <div style="display: block; height: auto; line-height: 16px; color: Orange; margin: 0 60px 0 50px; text-indent: 50px; font-weight: normal; font-size: 13px;"><%=Message %></div>
    </div>



    <!-- End: login-holder -->
</asp:Content>
